Autogenerated HTML docs for v1.7.9.2-262-gba998
diff --git a/git-config.html b/git-config.html index 6d1b762..468d064 100644 --- a/git-config.html +++ b/git-config.html
@@ -889,6 +889,18 @@ <em>--system</em>, <em>--global</em>, or repository (default). </p> </dd> +<dt class="hdlist1"> +--includes +</dt> +<dt class="hdlist1"> +--no-includes +</dt> +<dd> +<p> + Respect <tt>include.*</tt> directives in config files when looking up + values. Defaults to on. +</p> +</dd> </dl></div> </div> <h2 id="FILES">FILES</h2> @@ -1125,6 +1137,14 @@ <div class="paragraph"><p>Variable values ending in a <tt>\</tt> are continued on the next line in the customary UNIX fashion.</p></div> <div class="paragraph"><p>Some variables may require a special value format.</p></div> +<h3 id="_includes">Includes</h3><div style="clear:left"></div> +<div class="paragraph"><p>You can include one config file from another by setting the special +<tt>include.path</tt> variable to the name of the file to be included. The +included file is expanded immediately, as if its contents had been +found at the location of the include directive. If the value of the +<tt>include.path</tt> variable is a relative path, the path is considered to be +relative to the configuration file in which the include directive was +found. See below for examples.</p></div> <h3 id="_example">Example</h3><div style="clear:left"></div> <div class="literalblock"> <div class="content"> @@ -1153,6 +1173,12 @@ gitProxy="ssh" for "kernel.org" gitProxy=default-proxy ; for the rest</tt></pre> </div></div> +<div class="literalblock"> +<div class="content"> +<pre><tt>[include] + path = /path/to/foo.inc ; include by absolute path + path = foo ; expand "foo" relative to the current file</tt></pre> +</div></div> <h3 id="_variables">Variables</h3><div style="clear:left"></div> <div class="paragraph"><p>Note that this list is non-comprehensive and not necessarily complete. For command-specific variables, you will find a more detailed description @@ -4826,7 +4852,7 @@ <div id="footnotes"><hr /></div> <div id="footer"> <div id="footer-text"> -Last updated 2011-11-15 13:45:02 PDT +Last updated 2012-02-23 14:45:28 PDT </div> </div> </body>